Skip to main content

{coupon}

Return information on the coupons defined during the purchase process
{coupon attr="one_of_the_following"}

Attributes

Attribute nameData returned
coupon_countNumber of coupons currently in use
coupon_listAn array containing the code of coupons currently in use.
has_couponstrue if some coupons are currently in use, false otherwise
is_delivery_freetrue if at least one of the coupons currently in use gives free delivery, false otherwise